<template>
  <div>            
        <div class="types">        
            <img :src="imgurl" alt="" @click="fun(typeid)" ref="{{typeid}}">           
        </div>      
  </div>
</template>

<script>
export default {
   props:["imgurl","typeid"],
     methods:{
      fun(typeid){
          this.$router.push({name:"Flowertype",query:{typeid:typeid}})
      },
    
    }
}
</script>

<style scoped>


.types {
    width: 1.2rem;
    height: 0.66rem;
    margin-top: 0.05rem;
}
.types img{
    width: 1.2rem;
    height: 0.66rem;
}
</style>